﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" import="com.iwords.service.object.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<table <c:if test="${isRoot == true}"> id="J_Lesson_Table_${parentlibid}" </c:if> class="subtable <c:if test="${isRoot == true}"> lesson_table   account_table </c:if>">
   <c:if test="${isRoot == true}">
		<tr class="title">
			<th>课程名称</th>
			<th>单词总量</th>
			<th>类别</th>
			<th>操作</th>
		</tr>
	</c:if>

	<c:forEach items="${sysLibList}" var="u" varStatus="s">
	   <c:if test="${isLeaf == false}">
		<tr>
			<td colspan="5" class="parentNode node node-collapsed" libid="${u.libid }"><i
				class="icon icon-expand"></i> <c:out value="${u.libname}" /></td>
		</tr>
		
		<tr class="nodedetail ks-hidden" id="nodedetail_${u.libid }">
			<td colspan="5">
				<div class="tablebox" id="lessonTable_${u.libid}">
					
				</div>
			</td>
		</tr>
		</c:if>
		<c:if test="${isLeaf == true}">
			<tr>
				<td width="246"><span class="date"><c:out value="${u.libname}" /></span></td>
				<td width="124"><c:out value="${u.quantity}" /></td>
				<td width="105">
					<c:if test="${u.isFree==true}" var="result">
	        			 免费
	   				 </c:if> 
	   				 <c:if test="${u.isFree!=true}" var="result">
	         			付费
	    			 </c:if>
				</td>
				<td width="172"><a class="buy" href="learningStatus?action=study&libid=${u.libid}">我要学习</a>
				</td>
			</tr>
		</c:if>
	</c:forEach>
</table>
